﻿@model PauseSiteSettings

@{
    Layout = null;
    var siteSettings = ViewData.Get<SiteSettings>("siteSettings", null);
    //处理页脚链接
    var links = siteSettings.Links.Replace("\n", "").Replace("</a>", "</a>;");
    var linksList = links.Split(';').ToList();

    var currentUser = UserContext.CurrentUser;
    
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="IE=edge, chrome=1">
    <title>暂停站点</title>
 
    @Styles.Render("~/Bundle/Styles/Site")
    @Styles.Render("~/Bundle/Styles/SiteThemes")
    @Scripts.Render("~/Bundle/Scripts/jquery")
    @Scripts.Render("~/Bundle/Scripts/Site")
    @Scripts.Render("~/Bundle/Scripts/histroy")
    @Scripts.Render("~/Bundle/Scripts/lazyload")

 
</head>
<body>
    <div class="tn-doc">
 
        <nav class="navbar tn-header">
            <div class="container" id="tn-doc">
                <div class="row">
                    <div class="col-xs-7">
                        <a class="navbar-brand" href="@SiteUrls.Instance().Home()"><img src="/img/logo.png" /></a>
                        <ul class="nav navbar-nav pull-left">
                                <li >
                                    <a href="#" >
                                       主页
                                    </a>
                                </li>
                            <li>
                                <a href="#">
                                    资讯
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    图片
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    贴吧
                                </a>
                            </li>
                               
                        </ul>
                    </div>
                    
                </div>

            </div>
        </nav>
 


        <div class="tn-content">
            <div class="container">

                <div class="row">
                    <div class="col-xs-6 col-xs-offset-3">
                        <div class="tn-error-mod tn-error-v3">

                            @if (Model.PauseAnnouncement == null)
                            {

                                <div class="panel panel-danger">
                                    <div class="panel-heading">
                                        <h3 class="panel-title">暂停提示信息</h3>
                                    </div>
                                    <div class="panel-body">
                                        <h1 class="tn-mb-40">网站正在维护，请稍后再来！！</h1>

                                    </div>
                                </div>

                            }
                            else
                            {

                                <div class="panel panel-danger">
                                    <div class="panel-heading">
                                        <h3 class="panel-title">暂停提示信息</h3>
                                    </div>
                                    <div class="panel-body">
                                        <h1 class="tn-mb-40">@Html.Raw(Model.PauseAnnouncement)</h1>

                                    </div>
                                </div>

                            }

                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="tn-footer">
            <div class="container text-center">
         

            @if (siteSettings != null)
            {
                <ul class="list-inline">
                    @for (int i = 0; i < linksList.Count(); i++)
                    {
                        <li>@Html.Raw(linksList.ElementAt(i))</li>
                        if (i < linksList.Count() - 2)
                        {
                            <li>|</li>
                        }
                    }
                </ul>
                <div class="jh-footer-powered">
                    @Html.Raw(siteSettings.Copyright)
                    @Html.Raw(siteSettings.BeiAnScript)
                    @Html.Raw(siteSettings.StatScript)
                    Powered by<a target="_blank" href="http://www.jinhusns.com/"><strong>近乎</strong></a>v5.0
                </div>
            }

            </div>
        </div>
    </div>
  

</body>
</html>
